﻿using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation.Regions;
using Rafy.Domain;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net;

namespace Rafy.Book.ViewModels
{
    public class MathPageViewModel : BindableBase, INavigationAware
    {
        
        public MathPageViewModel()
        {
            


            
        }

        public void OnNavigatedTo(NavigationContext navigationContext)
        {
            // 从导航参数中获取工单编号
            //var bookId = navigationContext.Parameters.GetValue<int>("bookId");

        }

        public void OnNavigatedFrom(NavigationContext navigationContext)
        {
            // 可以在此处清理或保存数据
        }

        public bool IsNavigationTarget(NavigationContext navigationContext)
        {
            // 如果页面需要重用，则返回 true
            return true;
        }
    }
   

    
}
